package dpc.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import cn.sh.cares.dao.entity.BaseEntity;

@Entity
@Table(name="V_FLIGHT_LEG")
public class FlightLeg extends BaseEntity {
	
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -4636913087028202730L;

	/* 现场保障系统航班标识ID */
	@Column(name = "LEG_ID")
	private Long legId;
	
	/* 航班日期 */
	@Column(name="FLIGHT_DATE")
	private String flightDate;
	
	/* 航空公司*/
	@Column(name="AIRLINE_CODE")
	private String airlineCode;
	
	/* 航班号*/
	@Column(name="FLIGHT_NO")
	private String flightNo;
	
	/* 计划出发站*/
	@Column(name="SCHDL_DEP_AIRPORT")
	private String schdlDepAirport;
	
	/* 计划到达站*/
	@Column(name="SCHDL_ARR_AIRPORT")
	private String schdlArrAirport;
	
	/* 预计出发站*/
	@Column(name="PLAN_DEP_AIRPORT")
	private String planDepAirport;
	
	/* 预计到达站*/
	@Column(name="PLAN_ARR_AIRPORT")
	private String planArrAirport;
	
	/* 实际出发站*/
	@Column(name="ACT_DEP_AIRPORT")
	private String actDepAirport;
	
	/* 实际到达站*/
	@Column(name="ACT_ARR_AIRPORT")
	private String actArrAirport;
	
	/* 机号*/
	@Column(name="AIRCRAFT_NO")
	private String aircraftNo;
	
	/* 机型*/
	@Column(name="ACTYPE")
	private String actype;
	
	/* 航班状态*/
	@Column(name="STATUS")
	private String status;
	
	/* 航班性质*/
	@Column(name="FLT_PROP")
	private String fltProp;
	
	/* 国际国内*/
	@Column(name="INTL_FLAG")
	private String intlFlag;
	
	/* 代理类别*/
	@Column(name="AGENT")
	private String agent;
	
	/* 计划出发*/
	@Column(name="STD")
	private String std;
	
	/* 预计出发*/
	@Column(name="ETD")
	private String etd;
	
	/* 实际出发*/
	@Column(name="ATD")
	private String atd;
	
	/* 计划到达*/
	@Column(name="STA")
	private String sta;
	
	/* 预计到达*/
	@Column(name="ETA")
	private String eta;
	
	/* 实际到达*/
	@Column(name="ATA")
	private String ata;
	
	/* 关舱门时间*/
	@Column(name="CABIN_CLOSE_TIME")
	private String cabinCloseTime;
	
	/* B/O时间*/
	@Column(name="BOT_TIME")
	private String blockOutTime;
	
	/* T/O时间*/
	@Column(name="TOF_TIME")
	private String takeOffTime;
	
	/* L/D时间*/
	@Column(name="LDG_TIME")
	private String landingTime;
	
	/* B/I时间*/
	@Column(name="BIN_TIME")
	private String blockInTime;
	
	/* 录入人 */
	@Column(name = "CREATOR")
	private String creator;

	/* 录入时间 */
	@Temporal(value = TemporalType.TIMESTAMP)
	@Column(name = "CREATE_TIME")
	private Date createTime;

	/* 最后修改人 */
	@Column(name = "OPERATOR")
	private String operator;
	
	/* 最后修改时间 */
	@Temporal(value = TemporalType.TIMESTAMP)
	@Column(name = "LAST_MODIFY")
	private Date lastModify;

	/**
	 * 获取PO对象的唯一标识
	 */
	@Override
	public Serializable getId() {
		return legId;
	}
	
	
	public Long getLegId() {
		return legId;
	}

	public void setLegId(Long legId) {
		this.legId = legId;
	}

	public String getFlightDate() {
		return flightDate;
	}

	public void setFlightDate(String flightDate) {
		this.flightDate = flightDate;
	}

	public String getAirlineCode() {
		return airlineCode;
	}

	public void setAirlineCode(String airlineCode) {
		this.airlineCode = airlineCode;
	}

	public String getFlightNo() {
		return flightNo;
	}

	public void setFlightNo(String flightNo) {
		this.flightNo = flightNo;
	}

	public String getSchdlDepAirport() {
		return schdlDepAirport;
	}

	public void setSchdlDepAirport(String schdlDepAirport) {
		this.schdlDepAirport = schdlDepAirport;
	}

	public String getSchdlArrAirport() {
		return schdlArrAirport;
	}

	public void setSchdlArrAirport(String schdlArrAirport) {
		this.schdlArrAirport = schdlArrAirport;
	}

	public String getPlanDepAirport() {
		return planDepAirport;
	}

	public void setPlanDepAirport(String planDepAirport) {
		this.planDepAirport = planDepAirport;
	}

	public String getPlanArrAirport() {
		return planArrAirport;
	}

	public void setPlanArrAirport(String planArrAirport) {
		this.planArrAirport = planArrAirport;
	}

	public String getActDepAirport() {
		return actDepAirport;
	}

	public void setActDepAirport(String actDepAirport) {
		this.actDepAirport = actDepAirport;
	}

	public String getActArrAirport() {
		return actArrAirport;
	}

	public void setActArrAirport(String actArrAirport) {
		this.actArrAirport = actArrAirport;
	}

	public String getAircraftNo() {
		return aircraftNo;
	}

	public void setAircraftNo(String aircraftNo) {
		this.aircraftNo = aircraftNo;
	}

	public String getActype() {
		return actype;
	}

	public void setActype(String actype) {
		this.actype = actype;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getFltProp() {
		return fltProp;
	}

	public void setFltProp(String fltProp) {
		this.fltProp = fltProp;
	}

	public String getIntlFlag() {
		return intlFlag;
	}

	public void setIntlFlag(String intlFlag) {
		this.intlFlag = intlFlag;
	}

	public String getAgent() {
		return agent;
	}

	public void setAgent(String agent) {
		this.agent = agent;
	}

	public String getStd() {
		return std;
	}

	public void setStd(String std) {
		this.std = std;
	}

	public String getEtd() {
		return etd;
	}

	public void setEtd(String etd) {
		this.etd = etd;
	}

	public String getAtd() {
		return atd;
	}

	public void setAtd(String atd) {
		this.atd = atd;
	}

	public String getSta() {
		return sta;
	}

	public void setSta(String sta) {
		this.sta = sta;
	}

	public String getEta() {
		return eta;
	}

	public void setEta(String eta) {
		this.eta = eta;
	}

	public String getAta() {
		return ata;
	}

	public void setAta(String ata) {
		this.ata = ata;
	}

	public String getCabinCloseTime() {
		return cabinCloseTime;
	}

	public void setCabinCloseTime(String cabinCloseTime) {
		this.cabinCloseTime = cabinCloseTime;
	}

	public String getBlockOutTime() {
		return blockOutTime;
	}

	public void setBlockOutTime(String blockOutTime) {
		this.blockOutTime = blockOutTime;
	}

	public String getTakeOffTime() {
		return takeOffTime;
	}

	public void setTakeOffTime(String takeOffTime) {
		this.takeOffTime = takeOffTime;
	}

	public String getLandingTime() {
		return landingTime;
	}

	public void setLandingTime(String landingTime) {
		this.landingTime = landingTime;
	}

	public String getBlockInTime() {
		return blockInTime;
	}

	public void setBlockInTime(String blockInTime) {
		this.blockInTime = blockInTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Date getLastModify() {
		return lastModify;
	}

	public void setLastModify(Date lastModify) {
		this.lastModify = lastModify;
	}
}
